package com.yq.api.comm;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by yq on 16-8-13.
 */
public class AjaxResult implements Serializable {
    private String message;
    private Integer errorCode;
    private Boolean isSuccess = Boolean.TRUE;
    private Map<String, Object> infoData;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public Boolean getSuccess() {
        return isSuccess;
    }

    public void setSuccess(Boolean success) {
        isSuccess = success;
    }

    public Map<String, Object> getInfoData() {
        return infoData;
    }

    public void setInfoData(Map<String, Object> infoData) {
        this.infoData = infoData;
    }
}
